package main.java.com.blog.dao;

import com.blog.entity.Art;

import java.util.List;

public interface ArtMapper {
    int deleteByPrimaryKey(Integer artId);

    int deleteByArtTitle(String artTitle);

    int insert(Art record);

    int insertSelective(Art record);

    Art selectByPrimaryKey(Integer artId);

    List<Art> selectAll();

    List<Art> selectByArtAccount(String userAccount);

    int updateByPrimaryKeySelective(Art record);

    int updateByPrimaryKey(Art record);
}